package com.teatrace.model.base;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;

@Entity
public class Vehicle {

	@Id
	@Column(name="vehicle_id")
	private int id;//对应数据库表中的vehicle_id
	
	private String name;
	
	@Column(name="loading_capacity")
	private String loadingCapacity;//载重量loading_capacity
	
	private String model;//型号
	
	@Column(name="number_plate")
	private String numberPlate;

	private boolean deleted;

	public boolean getDeleted() {
		return deleted;
	}

	public void setDeleted(boolean deleted) {
		this.deleted = deleted;
	}


	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getLoadingCapacity() {
		return loadingCapacity;
	}

	public void setLoadingCapacity(String loadingCapacity) {
		this.loadingCapacity = loadingCapacity;
	}

	public String getModel() {
		return model;
	}

	public void setModel(String model) {
		this.model = model;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getId() {
		return id;
	}

	public String getNumberPlate() {
		return numberPlate;
	}

	public void setNumberPlate(String numberPlate) {
		this.numberPlate = numberPlate;
	}
	
}
